 |
|
|
|
|
Connecting the Property Page to the Control |
|
|
|
| |
 |
|
|
|
|
Using Your Property Page |
|
|
|
| |
 |
|
|
|
|
Handling Multiple Control Selections |
|
|
|
| |
 |
|
|
|
|
Control Error Handling |
|
|
|
| |
 |
|
|
|
|
From Here . . . |
|
|
|
| |
|
|
|
|
|
16
Classes: Reusable Components |
|
|
|
| |
 |
|
|
|
|
Understanding Classes |
|
|
|
| |
 |
|
|
|
|
Object-Oriented Programming |
|
|
|
| |
 |
|
|
|
|
Classes in Visual Basic |
|
|
|
| |
 |
|
|
|
|
Building Class Modules |
|
|
|
| |
 |
|
|
|
|
Starting a New Class Module |
|
|
|
| |
 |
|
|
|
|
Adding Properties to the Class |
|
|
|
| |
 |
|
|
|
|
Adding Methods to the Class |
|
|
|
| |
 |
|
|
|
|
Declaring and Using Objects |
|
|
|
| |
 |
|
|
|
|
Adding Your Own Events |
|
|
|
| |
 |
|
|
|
|
Creating an ActiveX DLL |
|
|
|
| |
 |
|
|
|
|
Creating an ActiveX Project |
|
|
|
| |
 |
|
|
|
|
Working with Multiple Projects |
|
|
|
| |
 |
|
|
|
|
Setting the Instancing Property |
|
|
|
| |
 |
|
|
|
|
Enums |
|
|
|
| |
 |
|
|
|
|
Creating Classes That Contain Collections |
|
|
|
| |
 |
|
|
|
|
Standard Collection Properties and Methods |
|
|
|
| |
 |
|
|
|
|
Creating a New Collection for Grouped Actions |
|
|
|
| |
 |
|
|
|
|
Using the Class Builder |
|
|
|
| |
 |
|
|
|
|
From Here . . . |
|
|
|
| |
|
|
|
|
|
IV
Visual Basic Interfaces |
|
|
|
| |
|
|
|
|
|
17
Multiple Document Interface Applications |
|
|
|
| |
 |
|
|
|
|
Introducing MDI Applications |
|
|
|
| |
 |
|
|
|
|
Characteristics of MDI Parent Forms |
|
|
|
| |
 |
|
|
|
|
Characteristics of MDI Child Forms |
|
|
|
| |
 |
|
|
|
|
Creating a Simple MDI Program |
|
|
|
| |
 |
|
|
|
|
Setting Up a Parent Form |
|
|
|
| |
 |
|
|
|
|
Setting Up a Child Form |
|
|
|
| |
 |
|
|
|
|
Running the Program |
|
|
|
| |
 |
|
|
|
|
Creating Multiple Instances of a Form |
|
|
|
| |
 |
|
|
|
|
Setting Up the Basic Form |
|
|
|
| |
 |
|
|
|
|
Creating Forms Using Object Variables |
|
|
|
| |
 |
|
|
|
|
Using the Keywords Me and ActiveForm |
|
|
|
| |
 |
|
|
|
|
Initializing an Instance of a Child Form |
|
|
|
| |
 |
|
|
|
|
Working with Menus |
|
|
|
| |
 |
|
|
|
|
Managing the Children |
|
|
|
| |
 |
|
|
|
|
Using Automatic Organization |
|
|
|
| |
 |
|
|
|
|
Maintaining a Window List |
|
|
|
| |
 |
|
|
|
|
Creating a Sample Applicationan MDI Contact Manager |
|
|
|
| |
 |
|
|
|
|
Creating the MDI Form |
|
|
|
| |
 |
|
|
|
|
Setting Up the Customer Child Form |
|
|
|
| |
 |
|
|
|
|
Creating the Search Form |
|
|
|
| |
 |
|
|
|
|
Creating the Heart of the Program |
|
|
|
| |
 |
|
|
|
|
Running the Program |
|
|
|
| |
 |
|
|
|
|
Optimizing Your MDI Application |
|
|
|
| |
 |
|
|
|
|
Creating an MDI Application Framework |
|
|
|
| |
 |
|
|
|
|
Creating the MDI Parent Template |
|
|
|
| |
 |
|
|
|
|
The MDI Child |
|
|
|
| |
 |
|
|
|
|
From Here . . . |
|
|
|
| |
|
|
|
|
|
18
Proper Interface Design |
|
|
|
| |
 |
|
|
|
|
Designing Effective Forms |
|
|
|
| |
 |
|
|
|
|
Keep Forms Neat and Uncluttered |
|
|
|
| |
 |
|
|
|
|
Pay Special Attention to Data Entry Forms |
|
|
|
| |
 |
|
|
|
|
Use the Right Control for the Job |
|
|
|
| |
 |
|
|
|
|
Third-Party Controls |
|
|
|
| |
 |
|
|
|
|
Multiple Forms |
|
|
|
| |
 |
|
|
|
|
User PC Differences |
|
|
|
| |